Update pymc3\examples#2947
Merged
junpenglao merged 6 commits intopymc-devs:masterfrom Apr 24, 2018
junpenglao:Update_examples
Merged
Update pymc3\examples#2947junpenglao merged 6 commits intopymc-devs:masterfrom junpenglao:Update_examples
junpenglao merged 6 commits intopymc-devs:masterfrom
junpenglao:Update_examples
Conversation
added 6 commits
April 23, 2018 09:41
Move custom logp outside of model block to avoide `AttributeError: Can't pickle local object 'build_model.<locals>.logp'`
- Change scale of prior - increase tuning and target_accept Note that there are still ~5 divergences per 1000 samples after tunning, further reparameterization is necessary.
No more divergence with more informative priors.
avoid `ValueError: Mass matrix contains zeros on the diagonal.`
Member
|
LGTM |
agustinaarroyuelo
pushed a commit
to agustinaarroyuelo/pymc3
that referenced
this pull request
Feb 8, 2019
* Update arbitrary_stochastic.py Move custom logp outside of model block to avoide `AttributeError: Can't pickle local object 'build_model.<locals>.logp'` * Reduce divergence - Change scale of prior - increase tuning and target_accept Note that there are still ~5 divergences per 1000 samples after tunning, further reparameterization is necessary. * remove unnecessary comments * Change prior for model No more divergence with more informative priors. * Use more realistic prior to avoid divergence * Change init for sample avoid `ValueError: Mass matrix contains zeros on the diagonal.`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rerun all examples under current master